﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.Files;

namespace LeadThing.AbpZeroTemplate.Files.Dtos
{
    /// <summary>
    /// 文件列表Dto
    /// </summary>
    [AutoMapFrom(typeof(File))]
    public class FileListDto : EntityDto<long>
    {
        /// <summary>
        /// 纠纷外键ID
        /// </summary>
        [DisplayName("纠纷外键ID")]
        public int DisID { get; set; }
        /// <summary>
        /// 图片名称
        /// </summary>
        [DisplayName("图片名称")]
        public string Title { get; set; }
        /// <summary>
        /// 扩展名
        /// </summary>
        [DisplayName("扩展名")]
        public string Extension { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        [DisplayName("文件大小")]
        public int Size { get; set; }
        /// <summary>
        /// 文件路径
        /// </summary>
        [DisplayName("文件路径")]
        public string Url { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }
    }
}
